package cn.tedu.charging.perm.service;

import cn.tedu.charging.perm.pojo.param.PermQuery;
import cn.tedu.charging.perm.pojo.param.PermSaveParam;
import cn.tedu.charging.perm.pojo.po.RolePerm;
import cn.tedu.charging.perm.pojo.vo.PermVO;

import java.util.List;

public interface PermService {
    List<PermVO> selectPerm(PermQuery permQuery);

    void savePerm(PermSaveParam permSaveParam);

    void deletePerm(Long permId);

    void addRolePerm(Long roleId, Long permId);

    void deleteRolePerm(Long roleId, Long permId);

    List<RolePerm> selectRolePerm(RolePerm rolePerm);

    List<PermVO> selectUnBindPerm(Long roleId);
}
